package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaTrain;
import com.qike.duola.domain.DuolaTrainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaTrainMapper {
    long countByExample(DuolaTrainExample example);

    int deleteByExample(DuolaTrainExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaTrain record);

    int insertSelective(DuolaTrain record);

    List<DuolaTrain> selectByExample(DuolaTrainExample example);

    DuolaTrain selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DuolaTrain record, @Param("example") DuolaTrainExample example);

    int updateByExample(@Param("record") DuolaTrain record, @Param("example") DuolaTrainExample example);

    int updateByPrimaryKeySelective(DuolaTrain record);

    int updateByPrimaryKey(DuolaTrain record);
}